<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>查询结果显示</title>
</head>
<body>

<!--    <from action="display" method="post" enctype="multipart/form-data">-->
<!--        {% csrf_token %}-->
<!--        name:<input type="text" name="name"><br>-->
<!--        description:<input type="text" name="description"><br>-->
<!--        analysis:<input type="text" name="analysis"><br>-->
<!--        photo:<input type="text" name="photo"><br>-->
<!--        <input type="submit" value="提交">-->

<!--    </from>-->

    <br>
    <table>
        <tr>
<!--            <td>-->
<!--                id-->
<!--            </td>-->
            <td>
                name
            </td>

            <td>
                description
            </td>

            <td>
                analysis
            </td>

            <td>
                photo
            </td>
        </tr>

        {% for a in list %}
        <tr>
<!--            <td>-->
<!--                {{a.id|safe}}-->
<!--            </td>-->
            <td>
                {{a.name|safe}}
            </td>
            <td>
                {{a.description|safe}}
            </td>
            <td>
                {{a.analysis|safe}}
            </td>
            <td>
                {{a.photo|safe}}
            </td>
        </tr>

        {% endfor %}
    </table>
</body>
</html>